#DayUp Contiune
x=1
y=0.01
a='asistent'
b='giveup'
temp=1
state='asistent'
for i in range(365):
    if state == a and (temp in [1,2,3]):
        x=x
        temp = (temp + 1)%7
    elif state == a and (temp in [0,4,5,6]):
        x=x*(1+y)
        temp = (temp + 1)%7
    elif state == unstudy:
        temp = 0
print("365天后的能力值为：{:.2f}".format(x))

